package com.library.service;

import com.library.entity.BorrowRecord;
import java.util.List;

public interface BorrowService {
    boolean borrowBook(BorrowRecord record);
    boolean returnBook(Integer id);
    List<BorrowRecord> findByUserId(Integer userId);
    List<BorrowRecord> findAll();
} 